home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / srtsltn / data1.cab / Target / Samples / ActiveX / SoSoX / sortsol.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-05  |  3.0 KB  |  98 lines

  1. #if !defined(AFX_SORTSOL_H__82A88BBA_66F3_11D1_A560_0020AF498497__INCLUDED_)
  2. #define AFX_SORTSOL_H__82A88BBA_66F3_11D1_A560_0020AF498497__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CSortSol wrapper class
  14.  
  15. class CSortSol : public CWnd
  16. {
  17. protected:
  18.     DECLARE_DYNCREATE(CSortSol)
  19. public:
  20.     CLSID const& GetClsid()
  21.     {
  22.         static CLSID const clsid
  23.             = { 0xf43f7179, 0x5db4, 0x11d1, { 0xa5, 0x49, 0x0, 0x20, 0xaf, 0x49, 0x84, 0x97 } };
  24.         return clsid;
  25.     }
  26.     virtual BOOL Create(LPCTSTR lpszClassName,
  27.         LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect,
  29.         CWnd* pParentWnd, UINT nID,
  30.         CCreateContext* pContext = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.  
  33.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  35.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36.         BSTR bstrLicKey = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38.         pPersist, bStorage, bstrLicKey); }
  39.  
  40. // Attributes
  41. public:
  42.     CString GetInputFile();
  43.     void SetInputFile(LPCTSTR);
  44.     CString GetOutputFile();
  45.     void SetOutputFile(LPCTSTR);
  46.     CString GetLogfile();
  47.     void SetLogfile(LPCTSTR);
  48.     BOOL GetDeleteInput();
  49.     void SetDeleteInput(BOOL);
  50.     BOOL GetAppendOutput();
  51.     void SetAppendOutput(BOOL);
  52.     BOOL GetAppendLog();
  53.     void SetAppendLog(BOOL);
  54.     CString GetProfile();
  55.     void SetProfile(LPCTSTR);
  56.     CString GetErrorLine();
  57.     void SetErrorLine(LPCTSTR);
  58.     long GetErrorLineNumber();
  59.     void SetErrorLineNumber(long);
  60.     BOOL GetAborted();
  61.     void SetAborted(BOOL);
  62.     long GetStatsSortTime();
  63.     void SetStatsSortTime(long);
  64.     long GetStatsMergeTime();
  65.     void SetStatsMergeTime(long);
  66.     long GetStatsBlockLoadTime();
  67.     void SetStatsBlockLoadTime(long);
  68.     long GetStatsBlockSortTime();
  69.     void SetStatsBlockSortTime(long);
  70.     long GetStatsBlockMergeTime();
  71.     void SetStatsBlockMergeTime(long);
  72.     long GetStatsNumberOfRuns();
  73.     void SetStatsNumberOfRuns(long);
  74.     long GetStatsCachePerRun();
  75.     void SetStatsCachePerRun(long);
  76.     long GetError();
  77.     void SetError(long);
  78.     CString GetErrorMsg();
  79.     void SetErrorMsg(LPCTSTR);
  80.     BOOL GetOverride();
  81.     void SetOverride(BOOL);
  82.  
  83. // Operations
  84. public:
  85.     void LoadProfile(LPCTSTR FileName);
  86.     void SaveProfile(LPCTSTR FileName);
  87.     void Sort();
  88.     void StatsBytesSorted(long* Lo, long* Hi);
  89.     void StatsRecordsProcessed(long* Lo, long* Hi);
  90.     void StatsRecordsFiltered(long* Lo, long* Hi);
  91.     void AboutBox();
  92. };
  93.  
  94. //{{AFX_INSERT_LOCATION}}
  95. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  96.  
  97. #endif // !defined(AFX_SORTSOL_H__82A88BBA_66F3_11D1_A560_0020AF498497__INCLUDED_)
  98.